-
Home
-
ElasticPress
-
4.5.0
-
Code
-
Classes
- ProtectedContent
Total Complexity |
44 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
394 |
Lines of code |
180 |
Logical lines of code |
94 |
Comment lines |
156 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
integrate() |
A |
47 |
10 |
35 |
integrate_comments_query() |
A |
53 |
8 |
23 |
remove_fields_from_password_protected() |
S |
52 |
6 |
26 |
exclude_protected_posts() |
S |
60 |
5 |
12 |
setup() |
S |
54 |
3 |
19 |
post_types() |
S |
54 |
2 |
23 |
include_post_password() |
S |
71 |
2 |
5 |
requirements_status() |
S |
68 |
2 |
7 |
__construct() |
S |
65 |
1 |
9 |
query_password_protected_posts() |
S |
76 |
1 |
4 |
return_post_password() |
S |
77 |
1 |
4 |
output_feature_box_long() |
S |
74 |
1 |
5 |
get_statuses() |
S |
72 |
1 |
5 |
get_comment_statuses() |
S |
81 |
1 |
3 |